Round effective time, add grace minutes
Add or subtract grace minutes from a effective time. Can be used to provide additional minutes when a worker is prevented from punching. Can be a positive or negative amount. Assumes a rounding rule has been used to first set the EffectiveTime.
Details
Rule Type
Time
Execution
Before punch
Parameters
Name | DataType | DefaultValue | Description |
---|---|---|---|
minutes | integer | The number of minutes to subtract from the punch time. If used on an IN punch, this effectively rounds back such that the worker receives more time. Use a negative value to round the time forward (reducing worked time) |
Decision Tree
Rule processing begins in the cell R1:Level1 and proceeds right/down. Any IF statement which results in a DONE step terminates the rule immediately.
Line# | Level1 | Level2 | Level3 | Comment |
---|---|---|---|---|
1 | Start | |||
2 | SET(EffectiveTime = ADD_TIME(EffectiveTime , minutes )) | Add (or subtract) "minutes" to (or from) an effective time. This would be done after first rounding the punch if applicable. |